package dkbta.ontology.elements.event;

import dkbta.ontology.values.ValuesType;
import dkbta.util.Pair;

public class EventAttribute extends Pair<Object, ValuesType>{
	/**
	 * Constructs an EventAttributeInstance with the given attribute value and type
	 * 
	 * @param value The attribute's value
	 * @param valueType The value's type
	 */
	public EventAttribute(Object value, ValuesType valueType){
		super(value, valueType);
	}

	/**
	 * Returns the attribute's value
	 * 
	 * @return The attribute's value
	 */
	public Object getValue(){
		return getFirst();
	}

	/**
	 * Returns the value's type
	 * 
	 * @return The value's type
	 */
	public ValuesType getValueType(){
		return getSecond();
	}

}
